package cn.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author gulei
 * @since 2018-12-11
 */
@TableName("qc_produce")
public class Produce extends Model<Produce> {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 标题
     */
    private String title;
    /**
     * 项目名称
     */
    private String name;
    /**
     * 项目分类
     */
    private String qclass;
    /**
     * 转向架型号
     */
    private String type;
    /**
     * 所属型号
     */
    private String system;
    /**
     * 故障部件
     */
    private String part;
    /**
     * 供应商
     */
    private String supplier;
    /**
     * 发生时间
     */
    private Date occurtime;
    /**
     * 发生工序
     */
    private String location;
    /**
     * 责任人
     */
    private String person;
    /**
     * 故障描述
     */
    private String describe;
    /**
     * 故障当时照片
     */
    private String currpic;
    /**
     * 故障跟进照片
     */
    private String follpic;
    /**
     * 原因分析
     */
    private String analysis;
    /**
     * 内场设计处置方案
     */
    private String nsjscheme;
    /**
     * 内场工艺处置方案
     */
    private String ngyscheme;
    /**
     * 外场设计处置方案
     */
    private String wsjscheme;
    /**
     * 外场工艺处置方案
     */
    private String wgyscheme;
    /**
     * 纠正预防措施
     */
    private String measure;
    /**
     * 关闭状态
     */
    private Boolean status;
    /**
     * 关闭人
     */
    private String closer;
    /**
     * 关闭时间
     */
    private Date closetime;
    /**
     * 置顶状态
     */
    private Boolean stick;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQclass() {
        return qclass;
    }

    public void setQclass(String qclass) {
        this.qclass = qclass;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSystem() {
        return system;
    }

    public void setSystem(String system) {
        this.system = system;
    }

    public String getPart() {
        return part;
    }

    public void setPart(String part) {
        this.part = part;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public Date getOccurtime() {
        return occurtime;
    }

    public void setOccurtime(Date occurtime) {
        this.occurtime = occurtime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getCurrpic() {
        return currpic;
    }

    public void setCurrpic(String currpic) {
        this.currpic = currpic;
    }

    public String getFollpic() {
        return follpic;
    }

    public void setFollpic(String follpic) {
        this.follpic = follpic;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public String getNsjscheme() {
        return nsjscheme;
    }

    public void setNsjscheme(String nsjscheme) {
        this.nsjscheme = nsjscheme;
    }

    public String getNgyscheme() {
        return ngyscheme;
    }

    public void setNgyscheme(String ngyscheme) {
        this.ngyscheme = ngyscheme;
    }

    public String getWsjscheme() {
        return wsjscheme;
    }

    public void setWsjscheme(String wsjscheme) {
        this.wsjscheme = wsjscheme;
    }

    public String getWgyscheme() {
        return wgyscheme;
    }

    public void setWgyscheme(String wgyscheme) {
        this.wgyscheme = wgyscheme;
    }

    public String getMeasure() {
        return measure;
    }

    public void setMeasure(String measure) {
        this.measure = measure;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getCloser() {
        return closer;
    }

    public void setCloser(String closer) {
        this.closer = closer;
    }

    public Date getClosetime() {
        return closetime;
    }

    public void setClosetime(Date closetime) {
        this.closetime = closetime;
    }

    public Boolean getStick() {
        return stick;
    }

    public void setStick(Boolean stick) {
        this.stick = stick;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Produce{" +
        ", id=" + id +
        ", title=" + title +
        ", name=" + name +
        ", qclass=" + qclass +
        ", type=" + type +
        ", system=" + system +
        ", part=" + part +
        ", supplier=" + supplier +
        ", occurtime=" + occurtime +
        ", location=" + location +
        ", person=" + person +
        ", describe=" + describe +
        ", currpic=" + currpic +
        ", follpic=" + follpic +
        ", analysis=" + analysis +
        ", nsjscheme=" + nsjscheme +
        ", ngyscheme=" + ngyscheme +
        ", wsjscheme=" + wsjscheme +
        ", wgyscheme=" + wgyscheme +
        ", measure=" + measure +
        ", status=" + status +
        ", closer=" + closer +
        ", closetime=" + closetime +
        ", stick=" + stick +
        "}";
    }
}
